package com.jintoufs.dao.baseinfo;


import com.jintoufs.dao.QueryFilters;
import com.jintoufs.domain.baseinfo.Trade;

import java.util.List;
import java.util.Map;

public interface TradeDAO {
    void deleteByPrimaryKey(Long id);

    void insert(Trade record);

    Trade selectByPrimaryKey(Long id);

    void updateByPrimaryKey(Trade record);

    List<Map<String, Object>> queryByParams(Map<String, Object> params);

    List<Map<String, Object>> getByFilter(QueryFilters filters);
}